package com.srit.base.service;

import java.lang.reflect.InvocationTargetException;

/**
 * 实体反射处理接口
 * 
 * @author guan
 * 
 */
public interface EntityIdReflect {

	/**
	 * 反射获取对象中的主键Id
	 * 
	 * @param object
	 * @return
	 * @throws InvocationTargetException
	 * @throws IllegalArgumentException
	 * @throws IllegalAccessException
	 */
	public Object reflectIdFromObject(Object object)
			throws NoSuchFieldException, SecurityException,
			NoSuchMethodException, IllegalAccessException,
			IllegalArgumentException, InvocationTargetException;

}
